﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using ProducerBO;

namespace Producer
{
   
    public partial class CustomerSignIn : System.Web.UI.Page
    {
        CUSTOMER CUST = new CUSTOMER();  
          
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void BP_SIGNIN_Click(object sender, EventArgs e)
        {
            DataTable dt = CUST.GetRecords(Convert.ToInt64(-99), "", "", -99, TC_UNAME.Text, TC_PASS.Text, false, true, "and");
            //   pro.P_ID = Convert.ToInt64(dt.Rows[0]["pno"].ToString());
            //    string PRODUCER_NAME = dt.Rows[0]["P_NAME"].ToString();
            /// Response.Write(PRODUCER_NAME);
            Response.Redirect("~/CustomerWelcome.aspx");
        }
    }
}
